import layout from '@/layout'
export default {
  path: '/employee',
  component: layout,
  meta: {
    title: '员工管理',
    icon: 'user'
  },
  children: [{
    path: 'courier',
    name: 'courier',
    component: () => import('@/views/employee/courier.vue'),
    meta: {
      title: '快递员管理'
    }
  }, {
    path: 'driver',
    name: 'driver',
    component: () => import('@/views/employee/driver.vue'),
    meta: {
      title: '司机管理'
    }
  }, {
    path: 'arrange',
    name: 'arrange',
    component: () => import('@/views/employee/arrange.vue'),
    meta: {
      title: '排班管理'
    }
  }, {
    path: 'arrange-set',
    name: 'arrange-set',
    component: () => import('@/views/employee/component/arrange-set.vue'),
    hidden: true, // 表示隐藏在左侧菜单
    meta: {
      title: '排班设置'
    }
  }]
}
